namespace java cool.taomu.box.thrift

struct Response{
	1:i32 status,
	2:string results
}

service Gateway{
  Response setData(1:string key,2:string data,3:string accessToken)
  Response getData(1:string key,3:string accessToken)
  Response publishInfo(1:required string topic,2:required string jsonData,3:string accessToken)
}
